/**
 * @ClassName Test
 * @Description 数组的定义和使用
 * @Author 李明忠
 * @Date 2025/5/10 17:03
 * @Version 1.0
 */
public class Test {
    /**
     * 数组的应引入：存放全班的年龄
     * @param args
     */
    public static void main1(String[] args) {
        //使用六个变量来存
        int age1 = 18;
        int age2 = 17;
        int age3 = 13;
        int age4 = 19;
        int age5 = 15;
        int age6 = 14;
        //将他们全部输出
        System.out.println(age1);
        System.out.println(age2);
        System.out.println(age3);
        System.out.println(age4);
        System.out.println(age5);
        System.out.println(age6);
    }
}
